package com.gxy.learn.jpa.repository;

import com.gxy.learn.jpa.entity.SysJob;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * author: Gao xueyong
 * Create at: 2022/2/22 上午12:00
 */
public interface SysJobRepository extends JpaRepository<SysJob, Long> {

    SysJob findFirstByState(Integer state);
}
